/*
 * XML Type:  XCriteriaOperation
 * Namespace: http://www.seedwill.com/xul/criteria
 * Java type: com.seedwill.xul.criteria.XCriteriaOperation
 *
 * Automatically generated - do not modify.
 */
package com.seedwill.xul.criteria;


/**
 * An XML XCriteriaOperation(@http://www.seedwill.com/xul/criteria).
 *
 * This is an atomic type that is a restriction of com.seedwill.xul.criteria.XCriteriaOperation.
 */
public interface XCriteriaOperation extends org.apache.xmlbeans.XmlString
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XCriteriaOperation.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s790E6810E76A77BB212DD6D4DA094898").resolveHandle("xcriteriaoperation7ef6type");
    
    org.apache.xmlbeans.StringEnumAbstractBase enumValue();
    void set(org.apache.xmlbeans.StringEnumAbstractBase e);
    
    static final Enum NONE = Enum.forString("NONE");
    static final Enum LIKE = Enum.forString("LIKE");
    static final Enum NOT_LIKE = Enum.forString("NOT_LIKE");
    static final Enum LEFT_LIKE = Enum.forString("LEFT_LIKE");
    static final Enum NOT_LEFT_LIKE = Enum.forString("NOT_LEFT_LIKE");
    static final Enum RIGHT_LIKE = Enum.forString("RIGHT_LIKE");
    static final Enum NOT_RIGHT_LIKE = Enum.forString("NOT_RIGHT_LIKE");
    static final Enum BETWEEN = Enum.forString("BETWEEN");
    static final Enum NOT_BETWEEN = Enum.forString("NOT_BETWEEN");
    static final Enum IN = Enum.forString("IN");
    static final Enum NOT_IN = Enum.forString("NOT_IN");
    static final Enum IS_EMPTY = Enum.forString("IS_EMPTY");
    static final Enum NOT_EMPTY = Enum.forString("NOT_EMPTY");
    static final Enum IS_NULL = Enum.forString("IS_NULL");
    static final Enum NOT_NULL = Enum.forString("NOT_NULL");
    static final Enum EQ = Enum.forString("EQ");
    static final Enum NOT_EQ = Enum.forString("NOT_EQ");
    static final Enum GT = Enum.forString("GT");
    static final Enum LT = Enum.forString("LT");
    static final Enum GT_EQ = Enum.forString("GT_EQ");
    static final Enum LT_EQ = Enum.forString("LT_EQ");
    static final Enum CLAUSE = Enum.forString("CLAUSE");
    
    static final int INT_NONE = Enum.INT_NONE;
    static final int INT_LIKE = Enum.INT_LIKE;
    static final int INT_NOT_LIKE = Enum.INT_NOT_LIKE;
    static final int INT_LEFT_LIKE = Enum.INT_LEFT_LIKE;
    static final int INT_NOT_LEFT_LIKE = Enum.INT_NOT_LEFT_LIKE;
    static final int INT_RIGHT_LIKE = Enum.INT_RIGHT_LIKE;
    static final int INT_NOT_RIGHT_LIKE = Enum.INT_NOT_RIGHT_LIKE;
    static final int INT_BETWEEN = Enum.INT_BETWEEN;
    static final int INT_NOT_BETWEEN = Enum.INT_NOT_BETWEEN;
    static final int INT_IN = Enum.INT_IN;
    static final int INT_NOT_IN = Enum.INT_NOT_IN;
    static final int INT_IS_EMPTY = Enum.INT_IS_EMPTY;
    static final int INT_NOT_EMPTY = Enum.INT_NOT_EMPTY;
    static final int INT_IS_NULL = Enum.INT_IS_NULL;
    static final int INT_NOT_NULL = Enum.INT_NOT_NULL;
    static final int INT_EQ = Enum.INT_EQ;
    static final int INT_NOT_EQ = Enum.INT_NOT_EQ;
    static final int INT_GT = Enum.INT_GT;
    static final int INT_LT = Enum.INT_LT;
    static final int INT_GT_EQ = Enum.INT_GT_EQ;
    static final int INT_LT_EQ = Enum.INT_LT_EQ;
    static final int INT_CLAUSE = Enum.INT_CLAUSE;
    
    /**
     * Enumeration value class for com.seedwill.xul.criteria.XCriteriaOperation.
     * These enum values can be used as follows:
     * <pre>
     * enum.toString(); // returns the string value of the enum
     * enum.intValue(); // returns an int value, useful for switches
     * // e.g., case Enum.INT_NONE
     * Enum.forString(s); // returns the enum value for a string
     * Enum.forInt(i); // returns the enum value for an int
     * </pre>
     * Enumeration objects are immutable singleton objects that
     * can be compared using == object equality. They have no
     * public constructor. See the constants defined within this
     * class for all the valid values.
     */
    static final class Enum extends org.apache.xmlbeans.StringEnumAbstractBase
    {
        /**
         * Returns the enum value for a string, or null if none.
         */
        public static Enum forString(java.lang.String s)
            { return (Enum)table.forString(s); }
        /**
         * Returns the enum value corresponding to an int, or null if none.
         */
        public static Enum forInt(int i)
            { return (Enum)table.forInt(i); }
        
        private Enum(java.lang.String s, int i)
            { super(s, i); }
        
        static final int INT_NONE = 1;
        static final int INT_LIKE = 2;
        static final int INT_NOT_LIKE = 3;
        static final int INT_LEFT_LIKE = 4;
        static final int INT_NOT_LEFT_LIKE = 5;
        static final int INT_RIGHT_LIKE = 6;
        static final int INT_NOT_RIGHT_LIKE = 7;
        static final int INT_BETWEEN = 8;
        static final int INT_NOT_BETWEEN = 9;
        static final int INT_IN = 10;
        static final int INT_NOT_IN = 11;
        static final int INT_IS_EMPTY = 12;
        static final int INT_NOT_EMPTY = 13;
        static final int INT_IS_NULL = 14;
        static final int INT_NOT_NULL = 15;
        static final int INT_EQ = 16;
        static final int INT_NOT_EQ = 17;
        static final int INT_GT = 18;
        static final int INT_LT = 19;
        static final int INT_GT_EQ = 20;
        static final int INT_LT_EQ = 21;
        static final int INT_CLAUSE = 22;
        
        public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table =
            new org.apache.xmlbeans.StringEnumAbstractBase.Table
        (
            new Enum[]
            {
                new Enum("NONE", INT_NONE),
                new Enum("LIKE", INT_LIKE),
                new Enum("NOT_LIKE", INT_NOT_LIKE),
                new Enum("LEFT_LIKE", INT_LEFT_LIKE),
                new Enum("NOT_LEFT_LIKE", INT_NOT_LEFT_LIKE),
                new Enum("RIGHT_LIKE", INT_RIGHT_LIKE),
                new Enum("NOT_RIGHT_LIKE", INT_NOT_RIGHT_LIKE),
                new Enum("BETWEEN", INT_BETWEEN),
                new Enum("NOT_BETWEEN", INT_NOT_BETWEEN),
                new Enum("IN", INT_IN),
                new Enum("NOT_IN", INT_NOT_IN),
                new Enum("IS_EMPTY", INT_IS_EMPTY),
                new Enum("NOT_EMPTY", INT_NOT_EMPTY),
                new Enum("IS_NULL", INT_IS_NULL),
                new Enum("NOT_NULL", INT_NOT_NULL),
                new Enum("EQ", INT_EQ),
                new Enum("NOT_EQ", INT_NOT_EQ),
                new Enum("GT", INT_GT),
                new Enum("LT", INT_LT),
                new Enum("GT_EQ", INT_GT_EQ),
                new Enum("LT_EQ", INT_LT_EQ),
                new Enum("CLAUSE", INT_CLAUSE),
            }
        );
        private static final long serialVersionUID = 1L;
        private java.lang.Object readResolve() { return forInt(intValue()); } 
    }
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static com.seedwill.xul.criteria.XCriteriaOperation newValue(java.lang.Object obj) {
          return (com.seedwill.xul.criteria.XCriteriaOperation) type.newValue( obj ); }
        
        public static com.seedwill.xul.criteria.XCriteriaOperation newInstance() {
          return (com.seedwill.xul.criteria.XCriteriaOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static com.seedwill.xul.criteria.XCriteriaOperation newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (com.seedwill.xul.criteria.XCriteriaOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static com.seedwill.xul.criteria.XCriteriaOperation parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.criteria.XCriteriaOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static com.seedwill.xul.criteria.XCriteriaOperation parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.criteria.XCriteriaOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static com.seedwill.xul.criteria.XCriteriaOperation parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.criteria.XCriteriaOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static com.seedwill.xul.criteria.XCriteriaOperation parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.criteria.XCriteriaOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static com.seedwill.xul.criteria.XCriteriaOperation parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.criteria.XCriteriaOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static com.seedwill.xul.criteria.XCriteriaOperation parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.criteria.XCriteriaOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static com.seedwill.xul.criteria.XCriteriaOperation parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.criteria.XCriteriaOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static com.seedwill.xul.criteria.XCriteriaOperation parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.criteria.XCriteriaOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static com.seedwill.xul.criteria.XCriteriaOperation parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.criteria.XCriteriaOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static com.seedwill.xul.criteria.XCriteriaOperation parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.criteria.XCriteriaOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static com.seedwill.xul.criteria.XCriteriaOperation parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.criteria.XCriteriaOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static com.seedwill.xul.criteria.XCriteriaOperation parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.criteria.XCriteriaOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static com.seedwill.xul.criteria.XCriteriaOperation parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.criteria.XCriteriaOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static com.seedwill.xul.criteria.XCriteriaOperation parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.criteria.XCriteriaOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.seedwill.xul.criteria.XCriteriaOperation parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.seedwill.xul.criteria.XCriteriaOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.seedwill.xul.criteria.XCriteriaOperation parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.seedwill.xul.criteria.XCriteriaOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
